package com.brillilab.dao.mapper.topics;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.topics.TopicExperiment;
import com.brillilab.domain.vo.topics.TopicExperimentVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TopicExperimentMapper extends BaseMapper<TopicExperiment> {

	
	List<TopicExperimentVo> getTopicExperimentVoList(@Param("topicTargetId")  Long topicTargetId);
	
	
	TopicExperimentVo getTopicExperimentVo(@Param("topicExperimentId") Long topicExperimentId);


	List<TopicExperimentVo> getExperimentGuideList(@Param("experimentIds") List<Long> experimentIds);


	List<TopicExperiment> getTopicExperimentByTargetGroupId(@Param("targetGroupId") Long targetGroupId);

	int getTopicExperimentCountByLabId(@Param("labId")Long labId);

	int getTopicExperimentCountByLabMemberId(@Param("labId")Long labId,@Param("labMemberId")Long labMemberId);
	
	
}
